package com.mxpio.erp.common.sales.entity;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.mxpio.erp.common.jpa.model.Partner;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "MB_ERP_SALES_CUSTOMER")
@Schema(description="客户")
public class Customer extends Partner {
	
	private static final long serialVersionUID = 1L;
	
	@Transient
	private List<Address> addresses;

}
